package io.renren.softpark.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunlong.common.utils.PageUtils;
import io.renren.softpark.dto.RotationDto;
import io.renren.softpark.dto.VerifyRotationDto;
import io.renren.softpark.entity.RotationEntity;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Cui
 * @email ${email}
 * @date 2020-08-14 09:24:18
 */
@Component("RotationService")
public interface RotationService extends IService<RotationEntity> {

    void insertRotation (RotationEntity rotationEntity);

    PageUtils queryPage(Map<String, Object> params);

    List<VerifyRotationDto> verifyRotation(Map<String, Object> params);

    List<RotationDto> getData();

    RotationDto getOneData(String columnId);

    RotationDto getOneData(Integer rotationId);

    boolean judgeIsRotation(RotationEntity rotation);
}

